package cn.zb.zbrhback.basic.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageResult<T> {
    private long count = 0;
    private List<T> pageList = new ArrayList<>();
    private String msg;
    public PageResult(String msg){
        this.msg = msg;
    }
}
